package testAction

import org.junit.Test
import testAction.base.BaseControllerTest

/**
 * Created by LiYan on 2016/8/8.
 */
public class GoodsACtionTest extends BaseControllerTest {
    /**
     * 获取商品信息
     * @return
     */
    @Test
    void getGoods(){
        /*def map=[:]
        map<<[id:1]*/
        //("/order/getOrders/2016-08-01 00:00:00/2016-08-08 00:00:00/12345")
        //comm_get("/order/getOrderDetail?orderId=1")
        //comm_get("/music/getMusic")
        /*def params=[:]
        params<<[isActive:'0']<<[intelligentNo:'1234']<<[remarkName:'测试2']<<[userId:12]
        comm_post("/account/addAcc",params)*/
        //comm_post("/account/delAcc/openid=1/intelligentNo=245,33,123456")
        //comm_post("/account/delAcc?intelligentNo=111,22,,33,212345")
        //comm_get("/account/delAcc/1234")
        //System.out.println("res---"+res)
        //comm_get("/goods/getGoods?goodsModule=1")
        //comm_get("/goods/getGoods")//查询商品
        //comm_get("/goods/getGoods?pageNum=1")
        //comm_get("/goods/getPackage/7")
        comm_get("/order/getOrder/171")
   }

}
